﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace REPORT.DTO
{
   public class DTO_LOAISANPHAM
    {
        #region Khai bao thuoc tinh
        private int _maLoaiSanPham;        
        private string _tenLoaiSanPham;     

        #endregion

        #region Khai bao phuong thuc
        public int MaLoaiSanPham
        {
          get { return _maLoaiSanPham; }
          set { _maLoaiSanPham = value; }
        }
        public string TenLoaiSanPham
        {
          get { return _tenLoaiSanPham; }
          set { _tenLoaiSanPham = value; }
        }       

        #endregion

        #region Khai bao khoi tao
        public DTO_LOAISANPHAM()
        { }
        public DTO_LOAISANPHAM(int maLoaiSP, string tenLoaiSP)
        {
            this.MaLoaiSanPham = maLoaiSP;
            this.TenLoaiSanPham = tenLoaiSP;
        }

        public DTO_LOAISANPHAM(DTO_LOAISANPHAM obj)
        {
            this.MaLoaiSanPham = MaLoaiSanPham;
            this.TenLoaiSanPham = TenLoaiSanPham;
        }
        #endregion
    }
}
